package cn.edu.jnu.finalproject.data;

import java.io.Serializable;

public class BookItem implements Serializable {


    public BookItem(String title, String author, String translator, String publisher, int pubDate1, int pubDate2, String ISBN,int resourceId) {
        this.title = title;
        this.author = author;
        this.translator = translator;
        this.publisher = publisher;
        this.pubDate1 = pubDate1;
        this.pubDate2 = pubDate2;
        this.ISBN = ISBN;
        this.resourceId = resourceId;
    }

    public String getTitle() {return title;}
    public void setTitle(String title) {
        this.title = title;
    }

    public String getISBN() {
        return ISBN;
    }
    public void setISBN(String ISBN) {
        this.ISBN = ISBN;
    }


    public String getAuthor() {
        return author;
    }
    public void setAuthor(String author){
        this.author = author;
    }


    public String getTranslator() {
        return translator;
    }
    public void setTranslator(String translator) {
        this.translator = translator;
    }

    public String getPublisher() {
        return publisher;
    }
    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public int getPubDate1() {
        return pubDate1;
    }
    public void setPubDate1(int pubDate1) {
        this.pubDate1 = pubDate1;
    }

    public int getPubDate2() {
        return pubDate2;
    }
    public void setPubDate2(int pubDate2) {
        this.pubDate2 = pubDate2;
    }

    public int getResourceId() {return resourceId;}
    public void setResourceId(int resourceId) {this.resourceId = resourceId;}


    private String translator;
    private String publisher;
    private int pubDate1;
    private int pubDate2;
    private int resourceId;
    private String title;
    private String ISBN;
    private String author;
}
